package com.jiaotong.smart.smartjiaotong.entity;

import lombok.Data;

/**
 * @author 袁雨森
 * 响应信息实体
 */
@Data
public class ResponseEntity {
    private int code;
    private String msg;
    private Object data;

    public ResponseEntity(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public ResponseEntity(int code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
